home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / BUSINESS / INCTRL1.LZH / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-11-08  |  1KB  |  60 lines

  1. echo off
  2. IF NOT EXIST INPUT.COM GOTO WRONGDR
  3. CLS
  4. ECHO OFF
  5. CLS
  6. IF %1==F GOTO FLOPINS
  7. IF %1==H GOTO HARDINS1
  8. CLS
  9. GO
  10. :FLOPINS
  11. ECHO OFF
  12. CLS
  13. CLS
  14. IF %2==1 GOTO FLOPINS1
  15. IF %2==2 GOTO FLOPINS2
  16. CLS
  17. ECHO  This floppy installation requires that you enter either a '1' or a '2',
  18. ECHO  following your 'GO F' instruction.
  19. GOTO END
  20. :FLOPINS2
  21. CLS
  22. GOTO END
  23. :FLOPINS1
  24. GOTO END
  25. :HARDINS1
  26. CLS
  27. echo  
  28. ECHO  This procedure will install all files onto your hard disk, drive %2
  29. ECHO  and will create a subdirectory, \PROSPECT.
  30. echo  
  31. %2:
  32. CD \
  33. MKDIR PROSPECT
  34. CD PROSPECT
  35. COPY %3ECOH.COM >TMP
  36. COPY %3YESNO.COM >TMP
  37. COPY %3SALE-A50.EXE >TMP
  38. SALE-A50
  39. DEL SALE-A50.EXE 
  40. DEL AUTOFLOP.BAT
  41. COPY %3SALE-B50.EXE >TMP
  42. SALE-B50
  43. DEL SALE-B50.EXE 
  44. CLS
  45. %3
  46. CLS
  47. INSTALL2 H %2 %3
  48. :WRONGDR
  49. CLS
  50. echo  
  51. echo  
  52. ECHO Though nothing could be simpler than this install procedure, it does   
  53. echo require that you enter the drive name, such as 'A:' or 'B:', followed
  54. echo by the 'Enter' key.  After that, please enter 'GO' again.
  55. echo  
  56. GOTO END
  57. :END
  58. echo  
  59.  
  60.